package com.fand.configuration.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.fand.common.service.CommonService;
import com.fand.configuration.vo.LanguageVo;

/**
 * 语言
 * 
 * @author haitao.yao
 */
@Controller
public class LanguageController {
	/**
	 * 公共服务
	 */
	@Qualifier(CommonService.BEAN_ID)
	@Autowired(required = false)
	private CommonService commonService;

	/**
	 * 语言主页面
	 * 
	 * @param LanguageVo
	 * @return 模板路径
	 */
	@RequestMapping(value = { "/configuration/language.htm", "/configuration/language/index.htm" }, method = RequestMethod.GET)
	public String configurationConfigurationindex(final LanguageVo LanguageVo) {
		return "configuration/language/index";
	}
}
